Moesif WSO2 APK Plugin

How to Install

Also, see WSO2 docs for details installing Moesif.

  1. Create a secret containing your Moesif Collector Application ID using the below command.
kubectl create secret generic moesif-secret --from-literal=moesifToken='Your-Moesif-Application-id' -n apk
  1. Follow the instructions in Customize Configurations. These instructions will guide you through the process of acquiring the values.yaml file. Replace secret-name in the following configuration with the name of the secret you created in the previous step.
analytics:
 enabled: true
 publishers:
 - enabled: true
   type: "moesif"
   secretName: <secret-name>
  1. Open the values.yaml file, and add the above configuration to the gatewayRuntime section under dp. Your values.yaml file should have a structure as follows.
    wso2:
      ...
      apk:
        ...
        dp:
          ...
          gatewayRuntime:
            analytics:
              enabled: true
              publishers:
              - enabled: true
                type: "moesif"
                secretName: <secret-name>
  1. Then redeploy the helm chart with the changes in values.yaml.

Updated: